package com.atguigu.ascii;

/**
 * AsciiDemo
 *
 * @Author: 马伟奇
 * @CreateTime: 2021-02-27
 * @Description:
 */
public class AsciiDemo {
    public static void main(String[] args) {
//        char a = 'a';
        String a = "abc";
//        int b = a;
//        System.out.println(b);
        char[] chars = a.toCharArray();
        for (char aChar : chars) {
            int b = aChar;
            System.out.println(b);
        }
    }
}